package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.ConsultSpecialty;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConsultSpecialtyMapper {
    int insert(ConsultSpecialty consultSpecialty);

    int update(ConsultSpecialty consultSpecialty);

    int delete(int id);

    List<ConsultSpecialty> selectByPage();
    ConsultSpecialty selectById(int id);
    List<ConsultSpecialty> selectAll();
}
